package com.sjgtw.cloud.web.rescueTeam.service;

import com.sjgtw.cloud.web.rescueTeam.domain.RescueTeam;
import com.sjgtw.cloud.web.rescueTeam.domain.vo.RescueTeamImportVo;
import com.sjgtw.cloud.web.waterDamage.domain.WaterDamage;

import java.util.List;
import java.util.Map;

/**
 * 抢险队伍Service接口
 * 
 * @author ruoyi
 * @date 2024-03-09
 */
public interface IRescueTeamService 
{
    /**
     * 查询抢险队伍
     * 
     * @param id 抢险队伍主键
     * @return 抢险队伍
     */
    public RescueTeam selectRescueTeamById(Long id);

    /**
     * 查询抢险队伍列表
     * 
     * @param rescueTeam 抢险队伍
     * @return 抢险队伍集合
     */
    public List<Map<String,Object>> selectRescueTeamList(RescueTeam rescueTeam);


    public List<RescueTeamImportVo> selectExportRescueTeamList(RescueTeam rescueTeam);


    /**
     * 新增抢险队伍
     * 
     * @param rescueTeam 抢险队伍
     * @return 结果
     */
    public int insertRescueTeam(RescueTeam rescueTeam);

    /**
     * 修改抢险队伍
     * 
     * @param rescueTeam 抢险队伍
     * @return 结果
     */
    public int updateRescueTeam(RescueTeam rescueTeam);

    /**
     * 批量删除抢险队伍
     * 
     * @param ids 需要删除的抢险队伍主键集合
     * @return 结果
     */
    public int deleteRescueTeamByIds(Long[] ids);

    /**
     * 删除抢险队伍信息
     * 
     * @param id 抢险队伍主键
     * @return 结果
     */
    public int deleteRescueTeamById(Long id);


    List<String> check(List<RescueTeamImportVo> entities);

    void batchSave(List<RescueTeamImportVo> entities);

}
